package com.cn.kehong.dao;

import com.cn.kehong.domain.SysItem;
import com.cn.kehong.domain.SysItemExample;
import com.cn.kehong.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysItemMapper {
    int countByExample(SysItemExample example);

    int deleteByExample(SysItemExample example);

    int insert(SysItem record);

    int insertSelective(SysItem record);

    List<SysItem> selectByExample(SysItemExample example);

    List<SysItem> selectSysItems(QueryForm queryForm);

    int updateByExampleSelective(@Param("record") SysItem record, @Param("example") SysItemExample example);

    int updateByExample(@Param("record") SysItem record, @Param("example") SysItemExample example);

    List<SysItem> getDeviceList();

    List<SysItem> getDeviceWorkshopList(String factory);

    int batchInsertsysItems(@Param("sysItems") List<SysItem> sysItems);

    List<SysItem> getMgItemListFactoryName(QueryForm queryForm);
}
